package com.nstar.timeline.vo
{
	import mx.utils.UIDUtil;
	
	[Bindable]
	public class TimeLineVO
	{
		public static const UP:String = "up";
		public static const DOWN:String = "down";
		
		public var index:int;
		public var x:Number = 0;
		public var y:Number = 0;
		public var xOffset:Number = 0;
		public var yOffset:Number = 0;
		public var width:Number = 0;
		public var height:Number = 0;
		public var direction:String = UP;
		
		public var title:String = null;
		public var titleColor:uint = 0x000000;
		
		public var text:String = null;
		public var textColor:uint = 0x000000;
		
		public var image:Object = null;
		
		public var desc:Object;//事件详细信息
		public var tickVO:TickVO = null;
		
		public var uid:String;//唯一标志
		
		
		public function TimeLineVO()
		{
			uid = UIDUtil.createUID();
		}
		
		public function toString():String{
			return title;
		}

	}
}